package cn.bj.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Intellij IDEA
 * User: zhongzhou
 * Date:2018/8/21
 * Time:11:28
 * Function:
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello(){
        return "hello word!!!!";
    }

     @GetMapping("/hello1")
    public String hello1(){
        return "hello word1!!!!";
    }


    @GetMapping("/hello2")
    public String hello2(){
        return "hello word2!!!!";
    }
}
